#content-title
  %h1 Welcome!
  %p Go ahead and sign up
#event-listings
  .listing
    - form_for :user, @user, :url => users_url, :html => {:class => 'signup'} do |form| 
      %table
        %tr
          %th Login:
          %td= form.text_field :login, :class => 'login-field'
          %td.loginFormErrors
            already taken
            = error_message_on :user, :login
        %tr 
          %th Email (this will be your site login):
          %td= form.text_field :email, :class => 'email-field'
          %td.emailFormErrors
            this e-mail isn't valid
            = error_message_on :user, :email
        %tr
          %th Password:
          %td= form.password_field :password, :class => 'password-field'
          %td.passwordFormErrors
            password isn't strong enough
            = error_message_on :user, :password
        %tr
          %th Password Confirmation:
          %td= form.password_field :password_confirmation, :class => 'password-confirmation-field'
          %td.passwordConfirmationFormErrors
            doesn't match password
            = error_message_on :user, :password_confirmation
      = submit_tag 'Save'